<template>
<el-menu default-active="2"  collapse-transition router unique-opened class="el-menu-vertical-demo" background-color="#b80000" text-color="#fff" active-text-color="#ffd04b">
    <div class="logobox" style="height:150%;">
        <span style="font-size: 30px; font-family: 楷体; font-weight: bold;">测试左侧菜单</span>
    </div>
</el-menu>
</template>

<script>
export default {
    name: 'leftnav',
    data() {
        return {

        }
    },
    created() {
        console.log(this.$router.options.routes)
        let leftMenu = this.$router.options.routes.filter(item=> item.path != '*');
        console.log(leftMenu);
    }
}
</script>

<style></style>
